//
//  LLUser.h
//  lrlzapp
//
//  Created by dl on 16/2/24.
//  Copyright © 2016年 lrlz. All rights reserved.
//

#import "LLModel.h"

typedef NS_ENUM(NSInteger, EM_LoginType) {
    EM_LoginTypePW = 1,        // 密码登录
    EM_LoginTypeSMS = 2,        // 手机号码+短信验证码登录
    EM_LoginTypeThird = 3         // 三方登录(微信、QQ、新浪微博)
};

@interface LLUser : LLModel

@property(nonatomic, assign) EM_LoginType loginType;

@property(nonatomic, copy) NSString *password;
@property(nonatomic, copy) NSString *phone;
@property(nonatomic, copy) NSString *token;

// 手机短信登录
@property(nonatomic, copy) NSString *checkCode;

// 三方登录类型
@property(nonatomic, copy) NSString *type;
@property(nonatomic, copy) NSString *openid;
@property(nonatomic, copy) NSString *headPhoto;
@property(nonatomic, copy) NSString *nick;
@property(nonatomic, copy) NSString *exist;

// 用户的个人基本信息
@property(nonatomic, copy) NSString *UUID;
@property(nonatomic, copy) NSString *taobaoId;
@property(nonatomic, copy) NSString *taobaoNick;
@property(nonatomic, copy) NSString *userHeadPhoto;
@property(nonatomic, copy) NSString *money;
@property(nonatomic, copy) NSString *points;

@end
